home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
PowerPlant
/
LFixedSizeArray 1.0
/
LFixedSizeArray.h
< prev
Wrap
C/C++ Source or Header
|
1996-05-24
|
614b
|
31 lines
#pragma once
/*
File: LFixedSizeArray.h
Contains: LArray template wrapper class.
Version: 1.0
Copyright: ©1996 Chris K. Thomas. All Rights Reserved.
*/
#include <LArray.h>
template <class T>
class LFixedSizeArray:
protected LArray
{
public:
LFixedSizeArray();
LFixedSizeArray(T **inItemsHandle);
virtual ~LFixedSizeArray();
virtual void InsertItem(ArrayIndexT inAtIndex, T& inItem);
virtual void RemoveItem(ArrayIndexT inAtIndex);
virtual void SetItem(ArrayIndexT inAtIndex, T& inItem);
virtual Boolean GetItem(ArrayIndexT inAtIndex, T& outItem);
virtual UInt32 GetCount();
};